package com.guofen.dao;

import com.guofen.pojo.RdDischarge;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RdDischargeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(RdDischarge record);

    int insertSelective(RdDischarge record);

    RdDischarge selectByPrimaryKey(Integer id);

    RdDischarge getlast();

    int updateByPrimaryKeySelective(RdDischarge record);

    int updateByPrimaryKey(RdDischarge record);

    List<RdDischarge> getList();
    List<RdDischarge> getListToday();

    List<RdDischarge> selectAll();

    List<RdDischarge> selectByDate(@Param("startDate") String startDate,
                                   @Param("endDate") String endDate);
}